#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int Strlen(char* a)
{
	int count = 0;
	while (*a != '\0')
	{
		count++;
		a++;
	}
	return count;
}

int main()
{
	char arr[100];
	int len;
	gets(arr);
	len = Strlen(arr);
	printf("%d", len);
	return 0;
}